//
//  HXPayPlugin.h
//  HXMobilePayPlugin
//
//  Created by Hubery on 15/8/3.
//  Copyright (c) 2015年 uxunchina. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "HXPayPluginDelegate.h"

///* 微信支付 */
extern NSString *const HXWeChatPay1;

/* 银联支付 */
extern NSString *const HXUPPay;

/* 账户余额支付 */
extern NSString *const HXAccountBalancePay;

/* 本行快付 */
extern NSString *const HXBankEasyPay;

@interface HXPayPlugin : NSObject
/*
 * @serialnumber 订单流水号
 * @comURL 支付请求URL
 * @key 加密因子Key
 * @IV 加密因子Iv
 * @modeType  表示支付的环境 00 表示生产 01表示测试
 * @price 订单总价
 * @bankName 银行信息
 * @payName 银行支付方式名称 
 * @viewController 当前请求支付的视图控制器
 * @delegate 支付插件返回结果代理方法
 * @phoneNo  会员手机号码
 * @uuid 会员唯一标识
 * @point_rate 积分兑换比
 */

//andPayTypeArray

+ (BOOL)startPayWithOrderSerialNumber:(NSString *)serialnumber andReqCommonURL:(NSString *)comURL andEncryptingKey:(NSString *)key andEncryptingIv:(NSString *)Iv andReqModeType:(NSString *)modeType andBankName:(NSString *)bankname andPayTitleName:(NSString *)payname andMemberUuid:(NSString *)uuid andPointRate:(NSString *)pointRate andMemberphoneNo:(NSString *)phoneNo andNotifyTag:(NSString*)notifyTag andpayTypeCode:(NSString*)payTypeCode andTransChannel:(NSString *)tranchannel andAppID:(NSString *)appid andMemberNo:(NSString *)memberNo andCrossMemberNo:(NSString *)crossMemberNo andpayViewController:(UIViewController *)viewController andDelegate:(id<HXPayPluginDelegate>)delegate;
//andNotifyTag andpayTypeCode

@end
